<%-- 
    Document   : VerificarPaciente
    Created on : 17/02/2013, 03:42:20 PM
    Author     : Jenny
--%>

<%@page import="Model.conexionBD"%>
<%@page contentType="text/html" pageEncoding="ISO-8859-15"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>JSP Page</title>
    </head>
    <%
        try {
          String id = request.getParameter("id");
          conexionBD c = new conexionBD("root","root","SAPCOMED_DATABASE");   
                        if(!"".equals(id)){
                            int i = c.buscarPaciente(Integer.parseInt(id));
                            //System.out.println(i);
                            out.print("YUPI ESTA REGISTRADO");
                           %>
                            
    <%
                                  }
        } catch(Exception e){
            e.getStackTrace();
            }
    %>
    <body>
       
    </body>
</html>
